Repository navigation
feat(research): add Phase 11 BREADTH cross-asset and futures screening gate - #819
Conversation
AI Code Review (deepseek /
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1c37d30be3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
1c37d30 to
409eb56
Compare
|
@codex review |
AI Code Review (deepseek /
|
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
AI assistance
Antigravity AI assistant (
gemini-3.1-pro)What changed
src/quant_platform_kit/research_stats/breadth_screening.pyimplementing the Phase 11BREADTHoffline cross-asset and futures screening evaluator:BREADTH_ASSET_CLASSES,BreadthDatasetManifest,BreadthScreeningResult, andevaluate_breadth_candidate(...).max_leverage_allowed, orfuturesdatasets missing aroll_ruleor explicitmargin_isolated_from_cash_buffer=True.lower_tail_correlation_gate(...)(< 0.50point + stationary-bootstrap UCB) anddeflated_sharpe_ratio(...)(>= min_dsr) into a single research-only screening verdict.quant_platform_kit.research_stats.tests/test_research_stats_breadth_screening.py.How verified
git diff --checkpassed..venv/bin/python -m pytest -q tests/test_research_stats_breadth_screening.py tests/test_research_stats_tail_correlation.py tests/test_research_stats_import_boundary.py tests/test_architecture_boundaries.py->30 passed in 20.21s..venv/bin/ruff check->All checks passed!..venv/bin/pyright->0 errors, 0 warnings, 0 informations.Why
Provides a single deterministic, fail-closed offline screening helper for Phase 11
BREADTHcross-asset (gold, treasury, non-US equity, commodity, FX) and isolated CTA futures sleeves, including explicit futures cash-buffer isolation and continuous roll checks.Risk
src/quant_platform_kit/research_stats/+tests/).